#include "SeqList.h"

SL s;

int main(){
    SLInit(&s);
    SLPushBack(&s, 1);
    SLPrint(&s);
    SLPushFront(&s, 2);
    SLPushFront(&s, 4);
    SLPushFront(&s, 5);
    SLPrint(&s);
    SLPushFront(&s, 3);
    SLPushBack(&s,6);
    SLPrint(&s);
    SLPopFront(&s);
    SLPrint(&s);
    SLPopBack(&s);
    SLPrint(&s);
    SLInsert(&s,3,77);
    SLPrint(&s);
    SLInsert(&s,4,66);
    SLPrint(&s);
    SLInsert(&s,5,99);
    SLPrint(&s);
    SLInsert(&s,6,88);
    SLPrint(&s);
    //SLErase(&s,6);
    //SLPrint(&s);
    //SLErase(&s,2);
    //SLPrint(&s);
    //SLErase(&s,3);
    //SLPrint(&s);

    SLDestroy(&s);
    return 0;
}